package com.wwj.core.wawa.service;

import com.github.pagehelper.Page;
import com.wwj.core.wawa.entity.Item;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/3.
 */
public interface IItemService {
    List<Item> findByType(int type);

    Page<Item> findByPage(int offset, int limit, Map<String,Object> params);

    void addItem(Item item);

    void modifyItem(Item item);

    Item findById(Integer id);

    void deleteById(Integer id);
}
